package com.my.commonlib.net.okgo;

import android.text.TextUtils;


import com.my.commonlib.util.Logger;

import java.io.Serializable;

public class TaskError implements Serializable {
	private static final long serialVersionUID = 1L;
	private String msg_code = "";
	private String msg = "";
	private String content;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public TaskError() { }

	public TaskError(String message) {
		setMessage(message);
	}

	public String getMsg_code() {
		return msg_code;
	}
	public void setMsg_code(String msg_code) {
		this.msg_code = msg_code;
	}
	public String getMessage() {
		return msg;
	}
	public void setMessage(String msg) {
		this.msg = msg;
	}
	
	public void printStackTrace(){
		if(!TextUtils.isEmpty(msg)){
			Logger.i(msg);
		}
	}
	
}
